import { AppDetail } from "./app";

export interface Collection {
  id: string;
  name: string;
  description?: string;
  apps: {
    Category: string;
    Pkgname: string;
  }[];
  createdAt: number;
  updatedAt: number;
}

export interface CollectionWithApps extends Collection {
  apps: AppDetail[];
}

export interface CreateCollectionParams {
  name: string;
  description?: string;
}